import http from '@/request/request.js'
//获取地址列表
export const getAddress = (data) => {
  return http.post('Personal_center/addresslist', data)
}

//添加地址
export const addRessinser = (data) => {
  return http.post('Personal_center/addressinser', data)
}

//编辑地址
export const updateAddress = (data) => {
  return http.post('Personal_center/updateaddress', data)
}

//删除地址
export const deladdress = (data) => {
  return http.post('Personal_center/deladdress', data)
}
